.PHONY: all
all: tcpserver  tcpclient

tcpserver:ServerMain.cc
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp
tcpclient:ClientMain.cc
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp


.PHONY: clean
clean:
	rm -rf tcpserver tcpclient
